   {if $spf.flashes}
   <div id="flashes">
      {foreach item=flash from=$spf.flashes}
      <p class="{$flash.class}">{$flash.message|nl2br}</p>
      {/foreach}
   </div>
   {/if}
